package com.atguigu.lease.common.minio;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * ClassName: MinioConfiguration
 * Description:
 *
 * @Author 刘艳丽
 * @Create 2024/9/20 22:56
 * @Version 1.0
 */
@Configuration
public class MinioConfiguration {

    @Autowired
    private MinioProperties minioProperties;
//
//    @Bean
//    public MinioClient minioClient(){
//        return MinioClient.builder()
//                .endpoint(minioProperties.getEndpoint())
//                .credentials(minioProperties.getAccessKey(), minioProperties.getSecretKey())
//                .build();
//    }
}
